package com.ruoyi.discuss.mapper;

import com.ruoyi.discuss.domain.SysDiscussLike;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 题目Mapper接口
 * 
 * @author YJF
 */
public interface SysDiscussLikeMapper
{

    public int deleteByLikeId(@Param("likeId") Long likeId);

    public SysDiscussLike selectOneByDiscussId(@Param("discussId")Long discussId,@Param("userId") Long userId);

    public List<SysDiscussLike> selectListByUserId(@Param("userId") Long userId);

    public void insertSysDiscussLike(SysDiscussLike discussLike);

}
